package com.ruoyi.app.util;

import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
public class ReqMsg<T> extends BaseMsg<T> {

    @NotBlank(message = "AppID不能为空")
    private String appId;

    private String channeld;

    @NotBlank(message = "Random不能为空")
    private String random;

    @NotBlank(message = "sign不能为空")
    private String sign;

    @NotBlank(message = "reqId不能为空")
    private String reqId;

    @NotBlank(message = "timestamp不能为空")
    private String timestamp;

    /**
     * 针对手机号校验接口 解密 异常问题添加一个 明文参数字段
     */
    private String param;

    private String useNewSecurity;

}
